package com.hqyj.lyf.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Qiuluoer
 *  2022/5/27 11:27
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("exam_question_bank")
public class ExamQuestionBank {

    @TableId(value = "exam_question_bank_id",type = IdType.AUTO)
    private Integer examQuestionBankId;

    @TableField(value = "exam_paper_id")
    private Integer examPaperId;
    @TableField(value = "qu_id")
    private Integer quId;


    public ExamQuestionBank(Integer examPaperId, Integer quid) {
        this.examPaperId = examPaperId;
        this.quId = quid;
    }
}
